package com.julian.warehouse.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/8/8.
 */

public class GoodsBean implements Serializable{
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    private String gname;
    private String ctime;
    private String picurl;
    private int count;
    private String description;
    private double price;
    private double cost;

    public double getCost() {
        return cost;
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public GoodsBean(){

    }

    public GoodsBean(String gname, String ctime, String picurl, int count, String description, double price,double cost) {
        this.gname = gname;
        this.ctime = ctime;
        this.picurl = picurl;
        this.count = count;
        this.description = description;
        this.price = price;
        this.cost = cost;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getPicurl() {
        return picurl;
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "GoodsBean{" +
                "id=" + id +
                ", gname='" + gname + '\'' +
                ", ctime='" + ctime + '\'' +
                ", picurl='" + picurl + '\'' +
                ", count=" + count +
                ", description='" + description + '\'' +
                ", price=" + price +
                ", cost=" + cost +
                '}';
    }
}
